WPStaging\Backup\Service\Archiver B

Total Complexity 99
Dependencies 25
Dependents 7
Total lines 792
Lines of code 392
Logical lines of code 271
Comment lines 203
Methods 32
Properties 14

Methods 32

Method Rating Maintainability Complexity Lines of code
appendFileToBackup()
A
41 14 54
addIndexPartSize()
A
43 14 49
addFileIndex()
A
40 13 57
addIndex()
A
47 9 35
renameBackup()
S
60 4 13
updateIndexInformationForAlreadyAddedIndex()
S
52 3 22
generateBackupMetadata()
S
56 3 19
createArchiveFile()
S
69 4 6
initiateDtoByFilePath()
S
66 4 8
maybeIncrementFileAppendTimeLimit()
S
63 3 11
getMaxPhpTimeLimitAllowed()
S
62 3 11
appendToArchiveFile()
S
64 2 11
getFinalPath()
S
68 2 7
getFinalBackupParentDirectory()
S
71 2 6
getDelayForRetry()
S
68 2 7
__construct()
S
62 1 12
setFileAppendTimeLimit()
S
77 1 4
setIsTempBackup()
S
81 1 3
setupTmpBackupFile()
S
68 1 7
setIsLocalBackup()
S
81 1 3
getDto()
S
82 1 3
getBytesWrittenInThisRequest()
S
82 1 3
getTempBackupIndex()
S
82 1 3
getTempBackup()
S
82 1 3
getDestinationPath()
S
66 1 9
writeFileHeader()
S
72 1 5
setBackupMetadataCategoryInfo()
S
81 1 3
incrementFilesCount()
S
80 1 3
setIndexPositionCreated()
S
81 1 3
isIndexPositionCreated()
S
81 1 3
resetFileAppendTimeLimitAndRetries()
S
74 1 5
isBackupFormatV1()
S
76 1 4